import instance from '../../utils/request';

export function findPurchaseInfoById(id) {
    //向后台发送请求，得到数据
    return instance.get(`/putStorage/purchaseInfo/${id}`);
}
export function findPurchaseInfo(searchParams) {
    //向后台发送请求，得到数据
    return instance.get(`/putStorage/purchaseInfo`,{params: searchParams});
}

export function findAllType() {
    //向后台发送请求，得到数据
    return instance.get(`/putStorage/dic`);
}

